package com.longcai.mapper.clyjuser;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.longcai.entity.customer.ClyjUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * 用户信息表 Mapper 接口
 * </p>
 *
 * @author M
 * @since 2019-03-31
 */
@Mapper
@Repository
public interface ClyjUserMapper extends BaseMapper<ClyjUser> {

	@Update("update clyj_user set open_state =#{openState} where user_id=#{userId}")
	int checkUserState(String userId, String openState);

}
